<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>CqCore: CqPortal类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CqCore
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_cq_portal-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CqPortal类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>插件入口类  
 <a href="class_cq_portal.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a38b12865e54051ddc202a2ffa68716b1"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a> { <a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1aab6bae12fb9e8f9f23856668ea423bbb">NoError</a> = 0, 
<a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1a59751e79125e849ade908eac2918626f">Unknown</a> = 1
 }<tr class="memdesc:a38b12865e54051ddc202a2ffa68716b1"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_cq_portal.html" title="插件入口类 ">CqPortal</a> 执行结果  <a href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">更多...</a><br /></td></tr>
</td></tr>
<tr class="separator:a38b12865e54051ddc202a2ffa68716b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a010488d0d8a46af43cd98150df5764da"><td class="memItemLeft" align="right" valign="top"><a id="a010488d0d8a46af43cd98150df5764da"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a010488d0d8a46af43cd98150df5764da">~CqPortal</a> ()</td></tr>
<tr class="memdesc:a010488d0d8a46af43cd98150df5764da"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数 <br /></td></tr>
<tr class="separator:a010488d0d8a46af43cd98150df5764da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4a97e3bd1b3c0b336b02615bfe16d0"><td class="memItemLeft" align="right" valign="top"><a id="aad4a97e3bd1b3c0b336b02615bfe16d0"></a>
qint64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#aad4a97e3bd1b3c0b336b02615bfe16d0">currentId</a> () const</td></tr>
<tr class="memdesc:aad4a97e3bd1b3c0b336b02615bfe16d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回当前号码 <br /></td></tr>
<tr class="separator:aad4a97e3bd1b3c0b336b02615bfe16d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3889da86ea9b0d629ac12ba942de8d17"><td class="memItemLeft" align="right" valign="top"><a id="a3889da86ea9b0d629ac12ba942de8d17"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a3889da86ea9b0d629ac12ba942de8d17">basePath</a> () const</td></tr>
<tr class="memdesc:a3889da86ea9b0d629ac12ba942de8d17"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件路径 <br /></td></tr>
<tr class="separator:a3889da86ea9b0d629ac12ba942de8d17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af511438e74f95a97011f3bb3c91fbaa3"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#af511438e74f95a97011f3bb3c91fbaa3">appFilePath</a> (const char *srcName) const</td></tr>
<tr class="memdesc:af511438e74f95a97011f3bb3c91fbaa3"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#af511438e74f95a97011f3bb3c91fbaa3">更多...</a><br /></td></tr>
<tr class="separator:af511438e74f95a97011f3bb3c91fbaa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af713d0021895240fc9f5291e3cc91972"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#af713d0021895240fc9f5291e3cc91972">appFilePath</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:af713d0021895240fc9f5291e3cc91972"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#af713d0021895240fc9f5291e3cc91972">更多...</a><br /></td></tr>
<tr class="separator:af713d0021895240fc9f5291e3cc91972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b6f387f075879f3fedab73834ccb063"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a3b6f387f075879f3fedab73834ccb063">usrFilePath</a> (const char *srcName) const</td></tr>
<tr class="memdesc:a3b6f387f075879f3fedab73834ccb063"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#a3b6f387f075879f3fedab73834ccb063">更多...</a><br /></td></tr>
<tr class="separator:a3b6f387f075879f3fedab73834ccb063"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b151eb934046c7bc882834f4672b920"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a6b151eb934046c7bc882834f4672b920">usrFilePath</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:a6b151eb934046c7bc882834f4672b920"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回插件目录内的文件  <a href="#a6b151eb934046c7bc882834f4672b920">更多...</a><br /></td></tr>
<tr class="separator:a6b151eb934046c7bc882834f4672b920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf94e74886f8aced13198398940f2241"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#aaf94e74886f8aced13198398940f2241">privateMessageEventFilter</a> (const <a class="el" href="struct_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:aaf94e74886f8aced13198398940f2241"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理个人消息事件的过滤器  <a href="#aaf94e74886f8aced13198398940f2241">更多...</a><br /></td></tr>
<tr class="separator:aaf94e74886f8aced13198398940f2241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70f6d9b16e5d99d4fdecd0007d4bdc8"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ab70f6d9b16e5d99d4fdecd0007d4bdc8">groupMessageEventFilter</a> (const <a class="el" href="struct_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:ab70f6d9b16e5d99d4fdecd0007d4bdc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理群组消息事件的过滤器  <a href="#ab70f6d9b16e5d99d4fdecd0007d4bdc8">更多...</a><br /></td></tr>
<tr class="separator:ab70f6d9b16e5d99d4fdecd0007d4bdc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7b39c43520958477aa079b27f9ad567"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#aa7b39c43520958477aa079b27f9ad567">discussMessageEventFilter</a> (const <a class="el" href="struct_message_event.html">MessageEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:aa7b39c43520958477aa079b27f9ad567"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理会话消息事件的过滤器  <a href="#aa7b39c43520958477aa079b27f9ad567">更多...</a><br /></td></tr>
<tr class="separator:aa7b39c43520958477aa079b27f9ad567"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27ee8fb131dd1696ef82fd81d63ff4d0"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a27ee8fb131dd1696ef82fd81d63ff4d0">masterChangeEventFilter</a> (const <a class="el" href="struct_master_change_event.html">MasterChangeEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a27ee8fb131dd1696ef82fd81d63ff4d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理管理变更事件的过滤器  <a href="#a27ee8fb131dd1696ef82fd81d63ff4d0">更多...</a><br /></td></tr>
<tr class="separator:a27ee8fb131dd1696ef82fd81d63ff4d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365c82a2361505abf905d285c54950e1"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a365c82a2361505abf905d285c54950e1">friendRequestEventFilter</a> (const <a class="el" href="struct_friend_request_event.html">FriendRequestEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a365c82a2361505abf905d285c54950e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理好友请求事件的过滤器  <a href="#a365c82a2361505abf905d285c54950e1">更多...</a><br /></td></tr>
<tr class="separator:a365c82a2361505abf905d285c54950e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94a65b90442829c4ede8d059a5d0bd2e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a94a65b90442829c4ede8d059a5d0bd2e">groupRequestEventFilter</a> (const <a class="el" href="struct_group_request_event.html">GroupRequestEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a94a65b90442829c4ede8d059a5d0bd2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理群组请求事件的过滤器  <a href="#a94a65b90442829c4ede8d059a5d0bd2e">更多...</a><br /></td></tr>
<tr class="separator:a94a65b90442829c4ede8d059a5d0bd2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2d8790f5793494d0f7050eeddfb7448"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#af2d8790f5793494d0f7050eeddfb7448">friendAddEventFilter</a> (const <a class="el" href="struct_friend_add_event.html">FriendAddEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:af2d8790f5793494d0f7050eeddfb7448"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理好友添加事件的过滤器  <a href="#af2d8790f5793494d0f7050eeddfb7448">更多...</a><br /></td></tr>
<tr class="separator:af2d8790f5793494d0f7050eeddfb7448"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91dc3767133ff5171bcdcc4502f5c8b1"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a91dc3767133ff5171bcdcc4502f5c8b1">memberJoinEventFilter</a> (const <a class="el" href="struct_member_join_event.html">MemberJoinEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:a91dc3767133ff5171bcdcc4502f5c8b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理成员加入事件的过滤器  <a href="#a91dc3767133ff5171bcdcc4502f5c8b1">更多...</a><br /></td></tr>
<tr class="separator:a91dc3767133ff5171bcdcc4502f5c8b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafe2ce017934250d8d8c435dbebfc538"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#aafe2ce017934250d8d8c435dbebfc538">memberLeaveEventFilter</a> (const <a class="el" href="struct_member_leave_event.html">MemberLeaveEvent</a> &amp;ev)</td></tr>
<tr class="memdesc:aafe2ce017934250d8d8c435dbebfc538"><td class="mdescLeft">&#160;</td><td class="mdescRight">处理成员离开事件的过滤器  <a href="#aafe2ce017934250d8d8c435dbebfc538">更多...</a><br /></td></tr>
<tr class="separator:aafe2ce017934250d8d8c435dbebfc538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc3775d892a37c15650d1954274feab8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#abc3775d892a37c15650d1954274feab8">sendPrivateMessage</a> (qint64 uid, const char *gbkMsg) const</td></tr>
<tr class="memdesc:abc3775d892a37c15650d1954274feab8"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送个人消息  <a href="#abc3775d892a37c15650d1954274feab8">更多...</a><br /></td></tr>
<tr class="separator:abc3775d892a37c15650d1954274feab8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fbe6d70044452d96f503915805dd7a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a4fbe6d70044452d96f503915805dd7a8">sendGroupMessage</a> (qint64 gid, const char *gbkMsg) const</td></tr>
<tr class="memdesc:a4fbe6d70044452d96f503915805dd7a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送群组消息  <a href="#a4fbe6d70044452d96f503915805dd7a8">更多...</a><br /></td></tr>
<tr class="separator:a4fbe6d70044452d96f503915805dd7a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dcc6b57c0c8de702a96f03e4f784460"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a0dcc6b57c0c8de702a96f03e4f784460">sendDiscussMessage</a> (qint64 did, const char *gbkMsg) const</td></tr>
<tr class="memdesc:a0dcc6b57c0c8de702a96f03e4f784460"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送会话消息  <a href="#a0dcc6b57c0c8de702a96f03e4f784460">更多...</a><br /></td></tr>
<tr class="separator:a0dcc6b57c0c8de702a96f03e4f784460"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dec964a1ef6ffe7fe856f95805a66ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a1dec964a1ef6ffe7fe856f95805a66ff">sendPrivateMessage</a> (qint64 uid, const QString &amp;msg) const</td></tr>
<tr class="memdesc:a1dec964a1ef6ffe7fe856f95805a66ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送个人消息  <a href="#a1dec964a1ef6ffe7fe856f95805a66ff">更多...</a><br /></td></tr>
<tr class="separator:a1dec964a1ef6ffe7fe856f95805a66ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cd48502f5edcd27b9a1740a5c2c4a54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a1cd48502f5edcd27b9a1740a5c2c4a54">sendGroupMessage</a> (qint64 gid, const QString &amp;msg) const</td></tr>
<tr class="memdesc:a1cd48502f5edcd27b9a1740a5c2c4a54"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送群组消息  <a href="#a1cd48502f5edcd27b9a1740a5c2c4a54">更多...</a><br /></td></tr>
<tr class="separator:a1cd48502f5edcd27b9a1740a5c2c4a54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3f801d3ea2219a580528e0930f941f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ad3f801d3ea2219a580528e0930f941f0">sendDiscussMessage</a> (qint64 did, const QString &amp;msg) const</td></tr>
<tr class="memdesc:ad3f801d3ea2219a580528e0930f941f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">发送会话消息  <a href="#ad3f801d3ea2219a580528e0930f941f0">更多...</a><br /></td></tr>
<tr class="separator:ad3f801d3ea2219a580528e0930f941f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a080741db8b4157d1db62ef9953bde3d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a080741db8b4157d1db62ef9953bde3d9">banGroupMember</a> (qint64 gid, qint64 uid, int duration)</td></tr>
<tr class="memdesc:a080741db8b4157d1db62ef9953bde3d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">禁言群组成员  <a href="#a080741db8b4157d1db62ef9953bde3d9">更多...</a><br /></td></tr>
<tr class="separator:a080741db8b4157d1db62ef9953bde3d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ee618693e22cf37f411e6457dbfa4ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a3ee618693e22cf37f411e6457dbfa4ba">kickGroupMember</a> (qint64 gid, qint64 uid, bool lasting)</td></tr>
<tr class="memdesc:a3ee618693e22cf37f411e6457dbfa4ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">踢出群组成员  <a href="#a3ee618693e22cf37f411e6457dbfa4ba">更多...</a><br /></td></tr>
<tr class="separator:a3ee618693e22cf37f411e6457dbfa4ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca2d7addd1b8d9de14005bad3c8be01b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#aca2d7addd1b8d9de14005bad3c8be01b">adminGroupMember</a> (qint64 gid, qint64 uid, bool enabled)</td></tr>
<tr class="memdesc:aca2d7addd1b8d9de14005bad3c8be01b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置群组管理  <a href="#aca2d7addd1b8d9de14005bad3c8be01b">更多...</a><br /></td></tr>
<tr class="separator:aca2d7addd1b8d9de14005bad3c8be01b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60e8477d07da25e0aeb31b876bcb5f3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a60e8477d07da25e0aeb31b876bcb5f3e">renameGroupMember</a> (qint64 gid, qint64 uid, const char *gbkNewNameCard)</td></tr>
<tr class="memdesc:a60e8477d07da25e0aeb31b876bcb5f3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">修改成员名片  <a href="#a60e8477d07da25e0aeb31b876bcb5f3e">更多...</a><br /></td></tr>
<tr class="separator:a60e8477d07da25e0aeb31b876bcb5f3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3175d50d5abeba2cdccd956c0b6e1207"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a3175d50d5abeba2cdccd956c0b6e1207">renameGroupMember</a> (qint64 gid, qint64 uid, const QString &amp;newNameCard)</td></tr>
<tr class="memdesc:a3175d50d5abeba2cdccd956c0b6e1207"><td class="mdescLeft">&#160;</td><td class="mdescRight">修改成员名片  <a href="#a3175d50d5abeba2cdccd956c0b6e1207">更多...</a><br /></td></tr>
<tr class="separator:a3175d50d5abeba2cdccd956c0b6e1207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5282c6a0ed59642123e06309d5efc835"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a5282c6a0ed59642123e06309d5efc835">acceptRequest</a> (const char *gbkTag)</td></tr>
<tr class="memdesc:a5282c6a0ed59642123e06309d5efc835"><td class="mdescLeft">&#160;</td><td class="mdescRight">接受好友添加请求  <a href="#a5282c6a0ed59642123e06309d5efc835">更多...</a><br /></td></tr>
<tr class="separator:a5282c6a0ed59642123e06309d5efc835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada2259ac61aca8438ba96e436129acbe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ada2259ac61aca8438ba96e436129acbe">rejectRequest</a> (const char *gbkTag)</td></tr>
<tr class="memdesc:ada2259ac61aca8438ba96e436129acbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">拒绝好友添加请求  <a href="#ada2259ac61aca8438ba96e436129acbe">更多...</a><br /></td></tr>
<tr class="separator:ada2259ac61aca8438ba96e436129acbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd5ba86bb2930634280b1abc7a2414f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#acd5ba86bb2930634280b1abc7a2414f9">acceptRequest</a> (qint32 type, const char *gbkTag)</td></tr>
<tr class="memdesc:acd5ba86bb2930634280b1abc7a2414f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">接受成员添加请求  <a href="#acd5ba86bb2930634280b1abc7a2414f9">更多...</a><br /></td></tr>
<tr class="separator:acd5ba86bb2930634280b1abc7a2414f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1f4b95f57fcd7772c3939a556e2c7dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ad1f4b95f57fcd7772c3939a556e2c7dd">rejectRequest</a> (qint32 type, const char *gbkTag)</td></tr>
<tr class="memdesc:ad1f4b95f57fcd7772c3939a556e2c7dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">拒绝成员添加请求  <a href="#ad1f4b95f57fcd7772c3939a556e2c7dd">更多...</a><br /></td></tr>
<tr class="separator:ad1f4b95f57fcd7772c3939a556e2c7dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d3a1c05e33ea73b9ed733b415d352fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a8d3a1c05e33ea73b9ed733b415d352fa">leaveGroup</a> (qint64 gid)</td></tr>
<tr class="memdesc:a8d3a1c05e33ea73b9ed733b415d352fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">退出群组  <a href="#a8d3a1c05e33ea73b9ed733b415d352fa">更多...</a><br /></td></tr>
<tr class="separator:a8d3a1c05e33ea73b9ed733b415d352fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20d2b2ff0ae4fa184d52784c41188649"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a20d2b2ff0ae4fa184d52784c41188649">leaveDiscuss</a> (qint64 did)</td></tr>
<tr class="memdesc:a20d2b2ff0ae4fa184d52784c41188649"><td class="mdescLeft">&#160;</td><td class="mdescRight">退出会话  <a href="#a20d2b2ff0ae4fa184d52784c41188649">更多...</a><br /></td></tr>
<tr class="separator:a20d2b2ff0ae4fa184d52784c41188649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d8f57fb1301e2c7faef9254086294e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">Result</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a11d8f57fb1301e2c7faef9254086294e">mute</a> (qint64 gid, bool muted)</td></tr>
<tr class="memdesc:a11d8f57fb1301e2c7faef9254086294e"><td class="mdescLeft">&#160;</td><td class="mdescRight">全员禁言  <a href="#a11d8f57fb1301e2c7faef9254086294e">更多...</a><br /></td></tr>
<tr class="separator:a11d8f57fb1301e2c7faef9254086294e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2532e59a7a79e592631a865ef41dadb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_person_info.html">CqPersonInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ad2532e59a7a79e592631a865ef41dadb">personInfo</a> (qint64 uid, bool cached=true)</td></tr>
<tr class="memdesc:ad2532e59a7a79e592631a865ef41dadb"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回个人信息  <a href="#ad2532e59a7a79e592631a865ef41dadb">更多...</a><br /></td></tr>
<tr class="separator:ad2532e59a7a79e592631a865ef41dadb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1762e59931cba7606b5eb2d3cdb2d0e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_cq_member_info.html">CqMemberInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ae1762e59931cba7606b5eb2d3cdb2d0e">memberInfo</a> (qint64 gid, qint64 uid, bool cached=true)</td></tr>
<tr class="memdesc:ae1762e59931cba7606b5eb2d3cdb2d0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回成员信息  <a href="#ae1762e59931cba7606b5eb2d3cdb2d0e">更多...</a><br /></td></tr>
<tr class="separator:ae1762e59931cba7606b5eb2d3cdb2d0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb6dcf57b96313bfaa9b6ac7b5ced7d6"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#afb6dcf57b96313bfaa9b6ac7b5ced7d6">saveImage</a> (const QPixmap &amp;data) const</td></tr>
<tr class="memdesc:afb6dcf57b96313bfaa9b6ac7b5ced7d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">保存图片  <a href="#afb6dcf57b96313bfaa9b6ac7b5ced7d6">更多...</a><br /></td></tr>
<tr class="separator:afb6dcf57b96313bfaa9b6ac7b5ced7d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08af79d9ef0e5b97477e685befd71fe5"><td class="memItemLeft" align="right" valign="top">QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a08af79d9ef0e5b97477e685befd71fe5">loadImage</a> (const QString &amp;name) const</td></tr>
<tr class="memdesc:a08af79d9ef0e5b97477e685befd71fe5"><td class="mdescLeft">&#160;</td><td class="mdescRight">载入图片  <a href="#a08af79d9ef0e5b97477e685befd71fe5">更多...</a><br /></td></tr>
<tr class="separator:a08af79d9ef0e5b97477e685befd71fe5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a9a4b3fc66c1068413a0110ce45a4e3d8"><td class="memItemLeft" align="right" valign="top">static QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a9a4b3fc66c1068413a0110ce45a4e3d8">convert</a> (const QString &amp;str)</td></tr>
<tr class="memdesc:a9a4b3fc66c1068413a0110ce45a4e3d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">字符串编码转换函数  <a href="#a9a4b3fc66c1068413a0110ce45a4e3d8">更多...</a><br /></td></tr>
<tr class="separator:a9a4b3fc66c1068413a0110ce45a4e3d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c84347d2ca8dea7fca34b0e5a9bc006"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a7c84347d2ca8dea7fca34b0e5a9bc006">convert</a> (const char *gbkStr)</td></tr>
<tr class="memdesc:a7c84347d2ca8dea7fca34b0e5a9bc006"><td class="mdescLeft">&#160;</td><td class="mdescRight">字符串编码转换函数  <a href="#a7c84347d2ca8dea7fca34b0e5a9bc006">更多...</a><br /></td></tr>
<tr class="separator:a7c84347d2ca8dea7fca34b0e5a9bc006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0318ba41fda7d8826f6a113db5ad86e3"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a0318ba41fda7d8826f6a113db5ad86e3">convert</a> (const QByteArray &amp;str)</td></tr>
<tr class="memdesc:a0318ba41fda7d8826f6a113db5ad86e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">字符串编码转换函数  <a href="#a0318ba41fda7d8826f6a113db5ad86e3">更多...</a><br /></td></tr>
<tr class="separator:a0318ba41fda7d8826f6a113db5ad86e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f07d569e9f19663083cac15fef12247"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a4f07d569e9f19663083cac15fef12247">cqAt</a> (qint64 uid)</td></tr>
<tr class="memdesc:a4f07d569e9f19663083cac15fef12247"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回酷Q中@他人的字符串  <a href="#a4f07d569e9f19663083cac15fef12247">更多...</a><br /></td></tr>
<tr class="separator:a4f07d569e9f19663083cac15fef12247"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13dbcae38c238ba5ddf441b5fa01248b"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#a13dbcae38c238ba5ddf441b5fa01248b">cqImage</a> (const QString &amp;name)</td></tr>
<tr class="memdesc:a13dbcae38c238ba5ddf441b5fa01248b"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回酷Q中发送图片的字符串  <a href="#a13dbcae38c238ba5ddf441b5fa01248b">更多...</a><br /></td></tr>
<tr class="separator:a13dbcae38c238ba5ddf441b5fa01248b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:ad9471ef2d28f8b9f2535b8876b767c99"><td class="memItemLeft" align="right" valign="top"><a id="ad9471ef2d28f8b9f2535b8876b767c99"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cq_portal.html#ad9471ef2d28f8b9f2535b8876b767c99">CqPortal</a> (CqPortalPrivate &amp;dd, QObject *parent=Q_NULLPTR)</td></tr>
<tr class="memdesc:ad9471ef2d28f8b9f2535b8876b767c99"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数 <br /></td></tr>
<tr class="separator:ad9471ef2d28f8b9f2535b8876b767c99"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>插件入口类 </p>
</div>
<p>继承自 QObject .</p>
<h2 class="groupheader">成员枚举类型说明</h2>
<a id="a38b12865e54051ddc202a2ffa68716b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a38b12865e54051ddc202a2ffa68716b1">&#9670;&nbsp;</a></span>Result</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="class_cq_portal.html" title="插件入口类 ">CqPortal</a> 执行结果 </p>
<p>酷Q API 密切相关的执行函数都会返回此枚举作为结果表达。 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a38b12865e54051ddc202a2ffa68716b1aab6bae12fb9e8f9f23856668ea423bbb"></a>NoError&#160;</td><td class="fielddoc"><p>没有错误（成功） </p>
<p>如果函数执行成功，都会返回当前值。 </p>
</td></tr>
<tr><td class="fieldname"><a id="a38b12865e54051ddc202a2ffa68716b1a59751e79125e849ade908eac2918626f"></a>Unknown&#160;</td><td class="fielddoc"><p>未知错误 </p>
<p>不在当前枚举内的错误值，都会返回 Unknown。 </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a5282c6a0ed59642123e06309d5efc835"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5282c6a0ed59642123e06309d5efc835">&#9670;&nbsp;</a></span>acceptRequest() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::acceptRequest </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>接受好友添加请求 </p>
<p>接受添加为好友的请求。需要将 <a class="el" href="struct_friend_request_event.html#ab72329054ef562faa646a002c29cf871" title="请求附带标签 ">FriendRequestEvent::gbkTag</a> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="acd5ba86bb2930634280b1abc7a2414f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd5ba86bb2930634280b1abc7a2414f9">&#9670;&nbsp;</a></span>acceptRequest() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::acceptRequest </td>
          <td>(</td>
          <td class="paramtype">qint32&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>接受成员添加请求 </p>
<p>接受个人加入群组的请求。需要将 <a class="el" href="struct_group_request_event.html#ad141ab21e8118a7c3a2ab780b4a734c5" title="事件类型 ">GroupRequestEvent::type</a> 直接传递给 <em>type，GroupRequestEvent::gbkTag</em> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="aca2d7addd1b8d9de14005bad3c8be01b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca2d7addd1b8d9de14005bad3c8be01b">&#9670;&nbsp;</a></span>adminGroupMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::adminGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置群组管理 </p>
<p>设置群组 <em>gid</em> 中的管理 <em>uid。<em>enable</em> 为</em> true 表示设置为管理；false 表示回复为成员。 </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="af511438e74f95a97011f3bb3c91fbaa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af511438e74f95a97011f3bb3c91fbaa3">&#9670;&nbsp;</a></span>appFilePath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::appFilePath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>srcName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与文件名 <em>srcName</em> 合并，返回此文件名的绝对路径。 </p>

</div>
</div>
<a id="af713d0021895240fc9f5291e3cc91972"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af713d0021895240fc9f5291e3cc91972">&#9670;&nbsp;</a></span>appFilePath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::appFilePath </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与文件名 <em>name</em> 合并，返回此文件名的绝对路径。 </p>

</div>
</div>
<a id="a080741db8b4157d1db62ef9953bde3d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a080741db8b4157d1db62ef9953bde3d9">&#9670;&nbsp;</a></span>banGroupMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::banGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>duration</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>禁言群组成员 </p>
<p>禁言群组 <em>gid</em> 中的成员 <em>uid。<em>duration</em> 最短</em> 60 秒，最长 30 天；0 表示解除禁言。（单位：秒） </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a9a4b3fc66c1068413a0110ce45a4e3d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a4b3fc66c1068413a0110ce45a4e3d8">&#9670;&nbsp;</a></span>convert() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray CqPortal::convert </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>字符串编码转换函数 </p>
<p>将 QString 类型的 <em>str</em> 转换成 GBK 编码的 QByteArray。 </p>

</div>
</div>
<a id="a7c84347d2ca8dea7fca34b0e5a9bc006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c84347d2ca8dea7fca34b0e5a9bc006">&#9670;&nbsp;</a></span>convert() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::convert </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkStr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>字符串编码转换函数 </p>
<p>将 GBK 编码的 <em>gbkStr</em> 转换成 QString。 </p>

</div>
</div>
<a id="a0318ba41fda7d8826f6a113db5ad86e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0318ba41fda7d8826f6a113db5ad86e3">&#9670;&nbsp;</a></span>convert() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::convert </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>字符串编码转换函数 </p>
<p>将 GBK 编码的 <em>str</em> 转换成 QString。 </p>

</div>
</div>
<a id="a4f07d569e9f19663083cac15fef12247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f07d569e9f19663083cac15fef12247">&#9670;&nbsp;</a></span>cqAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::cqAt </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回酷Q中@他人的字符串 </p>
<p>此函数将返回@他人的字符串。 </p>

</div>
</div>
<a id="a13dbcae38c238ba5ddf441b5fa01248b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13dbcae38c238ba5ddf441b5fa01248b">&#9670;&nbsp;</a></span>cqImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::cqImage </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回酷Q中发送图片的字符串 </p>
<p>此函数将返回发送图片的字符串。此文件需要保存在酷Q待发送图片目录中。 </p><dl class="section see"><dt>参见</dt><dd><a class="el" href="class_cq_portal.html#a08af79d9ef0e5b97477e685befd71fe5" title="载入图片 ">CqPortal::loadImage</a> <a class="el" href="class_cq_portal.html#afb6dcf57b96313bfaa9b6ac7b5ced7d6" title="保存图片 ">CqPortal::saveImage</a> </dd></dl>

</div>
</div>
<a id="aa7b39c43520958477aa079b27f9ad567"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7b39c43520958477aa079b27f9ad567">&#9670;&nbsp;</a></span>discussMessageEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::discussMessageEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理会话消息事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="af2d8790f5793494d0f7050eeddfb7448"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2d8790f5793494d0f7050eeddfb7448">&#9670;&nbsp;</a></span>friendAddEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::friendAddEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_friend_add_event.html">FriendAddEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理好友添加事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a365c82a2361505abf905d285c54950e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a365c82a2361505abf905d285c54950e1">&#9670;&nbsp;</a></span>friendRequestEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::friendRequestEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_friend_request_event.html">FriendRequestEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理好友请求事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="ab70f6d9b16e5d99d4fdecd0007d4bdc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab70f6d9b16e5d99d4fdecd0007d4bdc8">&#9670;&nbsp;</a></span>groupMessageEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::groupMessageEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理群组消息事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a94a65b90442829c4ede8d059a5d0bd2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94a65b90442829c4ede8d059a5d0bd2e">&#9670;&nbsp;</a></span>groupRequestEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::groupRequestEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_group_request_event.html">GroupRequestEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理群组请求事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a3ee618693e22cf37f411e6457dbfa4ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ee618693e22cf37f411e6457dbfa4ba">&#9670;&nbsp;</a></span>kickGroupMember()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::kickGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>lasting</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>踢出群组成员 </p>
<p>踢出群组 <em>gid</em> 中的成员 <em>uid。<em>lasting</em> 为</em> true 表示永久禁言；false 表示只是踢出，不加入黑名单。 </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a20d2b2ff0ae4fa184d52784c41188649"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20d2b2ff0ae4fa184d52784c41188649">&#9670;&nbsp;</a></span>leaveDiscuss()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::leaveDiscuss </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>did</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>退出会话 </p>
<p>这个帐号将退出会话 <em>did，注意安全！</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a8d3a1c05e33ea73b9ed733b415d352fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8d3a1c05e33ea73b9ed733b415d352fa">&#9670;&nbsp;</a></span>leaveGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::leaveGroup </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>退出群组 </p>
<p>这个帐号将退出群组 <em>gid，注意安全！</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a08af79d9ef0e5b97477e685befd71fe5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08af79d9ef0e5b97477e685befd71fe5">&#9670;&nbsp;</a></span>loadImage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPixmap CqPortal::loadImage </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>载入图片 </p>
<p>将载入酷Q待发送图片目录内文件名为 <em>name</em> 的图片，如果成功，返回此图片对象。 </p>

</div>
</div>
<a id="a27ee8fb131dd1696ef82fd81d63ff4d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27ee8fb131dd1696ef82fd81d63ff4d0">&#9670;&nbsp;</a></span>masterChangeEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::masterChangeEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_master_change_event.html">MasterChangeEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理管理变更事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="ae1762e59931cba7606b5eb2d3cdb2d0e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1762e59931cba7606b5eb2d3cdb2d0e">&#9670;&nbsp;</a></span>memberInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_member_info.html">CqMemberInfo</a> CqPortal::memberInfo </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cached</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回成员信息 </p>
<p>此方法会返回在群组 <em>gid</em> 中的成员 <em>uid</em> 的成员信息，默认会使用缓存数据。如果不想使用缓存，可以设置 <em>cache</em> 为 false，此时将同步获取成员信息。 </p><dl class="section return"><dt>返回</dt><dd>获取到的信息是否有效，可以通过返回对象的 <a class="el" href="class_cq_member_info.html#ab6e298de2fa031a45dd4602a95076939" title="验证有效信息 ">CqMemberInfo::isValid()</a> 函数进行验证。 </dd></dl>

</div>
</div>
<a id="a91dc3767133ff5171bcdcc4502f5c8b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91dc3767133ff5171bcdcc4502f5c8b1">&#9670;&nbsp;</a></span>memberJoinEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::memberJoinEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_member_join_event.html">MemberJoinEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理成员加入事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="aafe2ce017934250d8d8c435dbebfc538"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafe2ce017934250d8d8c435dbebfc538">&#9670;&nbsp;</a></span>memberLeaveEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::memberLeaveEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_member_leave_event.html">MemberLeaveEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理成员离开事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="a11d8f57fb1301e2c7faef9254086294e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11d8f57fb1301e2c7faef9254086294e">&#9670;&nbsp;</a></span>mute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::mute </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>muted</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>全员禁言 </p>
<p>是否开启群组的全员禁言。<em>muted</em> 为 true 表示开启；否则表示关闭。 </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="ad2532e59a7a79e592631a865ef41dadb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2532e59a7a79e592631a865ef41dadb">&#9670;&nbsp;</a></span>personInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_person_info.html">CqPersonInfo</a> CqPortal::personInfo </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>cached</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回个人信息 </p>
<p>此方法会返回个人 <em>uid</em> 的个人信息，默认会使用缓存数据。如果不想使用缓存，可以设置 <em>cache</em> 为 false，此时将同步获取个人信息。 </p><dl class="section return"><dt>返回</dt><dd>获取到的信息是否有效，可以通过返回对象的 <a class="el" href="class_cq_person_info.html#a19c75c0c3cc043988d68fe3247386654" title="验证有效信息 ">CqPersonInfo::isValid()</a> 函数进行验证。 </dd></dl>

</div>
</div>
<a id="aaf94e74886f8aced13198398940f2241"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf94e74886f8aced13198398940f2241">&#9670;&nbsp;</a></span>privateMessageEventFilter()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool CqPortal::privateMessageEventFilter </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_message_event.html">MessageEvent</a> &amp;&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>处理个人消息事件的过滤器 </p>
<p>默认的事件过滤器什么也不做，只返回 false。 </p><dl class="section return"><dt>返回</dt><dd>true 表示拦截此次事件；false 表示不拦截。 </dd></dl>

</div>
</div>
<a id="ada2259ac61aca8438ba96e436129acbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada2259ac61aca8438ba96e436129acbe">&#9670;&nbsp;</a></span>rejectRequest() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::rejectRequest </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拒绝好友添加请求 </p>
<p>拒绝添加为好友的请求。需要将 <a class="el" href="struct_friend_request_event.html#ab72329054ef562faa646a002c29cf871" title="请求附带标签 ">FriendRequestEvent::gbkTag</a> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="ad1f4b95f57fcd7772c3939a556e2c7dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1f4b95f57fcd7772c3939a556e2c7dd">&#9670;&nbsp;</a></span>rejectRequest() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::rejectRequest </td>
          <td>(</td>
          <td class="paramtype">qint32&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkTag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拒绝成员添加请求 </p>
<p>拒绝个人加入群组的请求。需要将 <a class="el" href="struct_group_request_event.html#ad141ab21e8118a7c3a2ab780b4a734c5" title="事件类型 ">GroupRequestEvent::type</a> 直接传递给 <em>type，GroupRequestEvent::gbkTag</em> 直接传递给 <em>gbkTag。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a60e8477d07da25e0aeb31b876bcb5f3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60e8477d07da25e0aeb31b876bcb5f3e">&#9670;&nbsp;</a></span>renameGroupMember() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::renameGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkNewNameCard</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>修改成员名片 </p>
<p>设置群组 <em>gid</em> 中的成员 <em>uid</em> 新的名片 <em>gbkNewNameCard。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkNewNameCard 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a3175d50d5abeba2cdccd956c0b6e1207"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3175d50d5abeba2cdccd956c0b6e1207">&#9670;&nbsp;</a></span>renameGroupMember() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::renameGroupMember </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>newNameCard</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>修改成员名片 </p>
<p>设置群组 <em>gid</em> 中的成员 <em>uid</em> 新的名片 <em>newNameCard</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="afb6dcf57b96313bfaa9b6ac7b5ced7d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb6dcf57b96313bfaa9b6ac7b5ced7d6">&#9670;&nbsp;</a></span>saveImage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::saveImage </td>
          <td>(</td>
          <td class="paramtype">const QPixmap &amp;&#160;</td>
          <td class="paramname"><em>data</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>保存图片 </p>
<p>将图片 <em>data</em> 保存到酷Q待发送图片目录。如果成功，返回自动生成的文件名。 </p>

</div>
</div>
<a id="a0dcc6b57c0c8de702a96f03e4f784460"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0dcc6b57c0c8de702a96f03e4f784460">&#9670;&nbsp;</a></span>sendDiscussMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::sendDiscussMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>did</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkMsg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送会话消息 </p>
<p>向会话 <em>did</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkMsg 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="ad3f801d3ea2219a580528e0930f941f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3f801d3ea2219a580528e0930f941f0">&#9670;&nbsp;</a></span>sendDiscussMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::sendDiscussMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>did</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送会话消息 </p>
<p>向会话 <em>did</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a4fbe6d70044452d96f503915805dd7a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fbe6d70044452d96f503915805dd7a8">&#9670;&nbsp;</a></span>sendGroupMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::sendGroupMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkMsg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送群组消息 </p>
<p>向群组 <em>gid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkMsg 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a1cd48502f5edcd27b9a1740a5c2c4a54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cd48502f5edcd27b9a1740a5c2c4a54">&#9670;&nbsp;</a></span>sendGroupMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::sendGroupMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>gid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送群组消息 </p>
<p>向群组 <em>gid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="abc3775d892a37c15650d1954274feab8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc3775d892a37c15650d1954274feab8">&#9670;&nbsp;</a></span>sendPrivateMessage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::sendPrivateMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>gbkMsg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送个人消息 </p>
<p>向个人 <em>uid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section note"><dt>注解</dt><dd>gbkMsg 是指使用 GBK 编码的文本，而本项目源代码是 UTF-8 编码的。 </dd></dl>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a1dec964a1ef6ffe7fe856f95805a66ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1dec964a1ef6ffe7fe856f95805a66ff">&#9670;&nbsp;</a></span>sendPrivateMessage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1">CqPortal::Result</a> CqPortal::sendPrivateMessage </td>
          <td>(</td>
          <td class="paramtype">qint64&#160;</td>
          <td class="paramname"><em>uid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>msg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>发送个人消息 </p>
<p>向个人 <em>uid</em> 发送消息 <em>gbkMsg。</em> </p><dl class="section return"><dt>返回</dt><dd><a class="el" href="class_cq_portal.html#a38b12865e54051ddc202a2ffa68716b1" title="CqPortal 执行结果 ">CqPortal::Result</a> </dd></dl>

</div>
</div>
<a id="a3b6f387f075879f3fedab73834ccb063"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b6f387f075879f3fedab73834ccb063">&#9670;&nbsp;</a></span>usrFilePath() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::usrFilePath </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>srcName</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与当前号码，文件名 <em>srcName</em> 合并，返回在此号码下的文件名的绝对路径。 </p>

</div>
</div>
<a id="a6b151eb934046c7bc882834f4672b920"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b151eb934046c7bc882834f4672b920">&#9670;&nbsp;</a></span>usrFilePath() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString CqPortal::usrFilePath </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回插件目录内的文件 </p>
<p>将插件路径与当前号码，文件名 <em>name</em> 合并，返回在此号码下的文件名的绝对路径。 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/Users/Monster/Documents/GitHub/qtassistant/cqcore/<a class="el" href="cqportal_8h_source.html">cqportal.h</a></li>
<li>C:/Users/Monster/Documents/GitHub/qtassistant/cqcore/cqportal.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
